package exercise;

public class Add implements Runnable{
	public Transform t;
	
	public Add(Transform t) {
		super();
		this.t = t;
	}

	@Override
	public void run() {
		for(int i=0;i<10;i++){
			t.add();
			try {
				Thread.sleep(10);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}

}
